package modelimplementation

import "time"

type TimeCard struct {
	itsDate time.Time
	itsHours float64
}

func CreateTimeCard(date time.Time,hours float64) *TimeCard {
	return &TimeCard{itsDate: date,itsHours: hours}
}

func (tc *TimeCard) GetDate() time.Time {
	return tc.itsDate
}

func (tc *TimeCard) GetHours() float64 {
	return tc.itsHours
}